package jehc.cloud.gen.web;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 代码生成器
 * @author邓纯杰
 *
 */
@Controller
@Api(value = "首页API",description = "首页API")
public class IndexController {

    /**
     * 首页页面
     * @param model
     * @return
     */
    @ApiOperation(value="首页页面", notes="首页页面")
    @RequestMapping(value="/index.html")
    public String index(Model model) {
//        DbInfo dbInfo = DBMSMetaUtil.excuteDB(null);
//        model.addAttribute("dbInfo", dbInfo);
        return "index";
    }

}
